package com.fan.txl.mock.api.service;

import com.fan.txl.data.auth.Auth;
import com.fan.txl.data.auth.AuthReq;
import com.fan.txl.data.base.Rsp;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by os on 2017/5/25.
 * Title
 */

public interface RpcService {

    @POST("/rpc")
    @FormUrlEncoded
    Observable<String> rpc(@Field("method") String method,@Field("service") String service,@Field("request") String request);

}
